package com.icangya.DAO.impl;

import com.icangya.DAO.IRoleDao;
import com.icangya.domain.Role;
import org.springframework.stereotype.Repository;

@Repository
public class RoleDAOImpl extends BaseDAO<Role> implements IRoleDao {
    @Override
    public Role findRoleByUserID(Long id) {
        return this.get(id);
    }
}
